﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Vision.Core.ActivityComponents.Assembly.Services
{
    public class AssemblyListService : IAssemblyListService
    {
        List<string> _assemblyNames;

        public AssemblyListService()
        {
            _assemblyNames = new List<string>();
        }

        public IEnumerable<string> GetAssemblyNames()
        {
            return _assemblyNames;
        }

        public void AddAssembly(string assemblyName)
        {
            _assemblyNames.Add(assemblyName);
        }

        public void RemoveAssembly(string assemblyName)
        {
            _assemblyNames.Remove(assemblyName);
        }
    }
}
